package apiday02;

public class HexDemo {
    public static void main(String[] args) {
        //>>>右移位运算
        int n = 0x679f1d98;
        int m = n>>>1;//右移1位
        int k = n>>>2;//右移2位
        int g = n>>>3;//右移3位
        System.out.println(Integer.toBinaryString(n));
        //1100111100111110001110110011000
        System.out.println(Integer.toBinaryString(m));
        //110011110011111000111011001100
        System.out.println(Integer.toBinaryString(k));
        //11001111001111100011101100110
        System.out.println(Integer.toBinaryString(g));
        //1100111100111110001110110011

    }
}
